package com.scvtc.domain.dto.party;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PartyBaseDto {
    @TableId
    private Integer id;

    /**
     * 教师外键
     */
    @ApiModelProperty(value = "教师外键")
    private Integer teacherId;

    /**
     * 学生外键
     */
    @ApiModelProperty(value = "学生外键")
    private Integer studentId;

    /**
     * 人员状态
     */
    @ApiModelProperty(value = "人员状态")
    private String partyIdentity;

    /**
     * 积极分子日期
     */
//    @TableField("party_activists_date")
    @ApiModelProperty(value = "人员状态")
    private String partyActivistsDate;

    /**
     * 发展对象日期
     */
//    @TableField("party_target_date")
    @ApiModelProperty(value = "发展对象日期")
    private String partyTargetDate;

    /**
     * 预备党员日期
     */
//    @TableField("party_really_date")
    @ApiModelProperty(value = "预备党员日期")
    private String partyReallyDate;

    /**
     * 转正日期
     */
//    @TableField("party_confirm_date")
    @ApiModelProperty(value = "转正日期")
    private String partyConfirmDate;

    /**
     * 转正日期
     */
//    @TableField("party_files_adrress")
    @ApiModelProperty(value = "档案转接地")
    private String partyFilesAdrress;

    /**
     * 当前党支部
     */
//    @TableField("party_current_branch")
    @ApiModelProperty(value = "当前党支部")
    private String partyCurrentBranch;


    /**
     * 教师姓名
     */
    @ApiModelProperty(value = "教师姓名")
    private String teacherName;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private String teacherGender;

    /**
     * 部门
     */
    @ApiModelProperty(value = "部门")
    private String teacherDepartment;

    /**
     * 职称
     */
    @ApiModelProperty(value = "职称")
    private String teacherRank;

    /**
     * 学位
     */
    @ApiModelProperty(value = "学位")
    private String teacherDegree;

    /**
     * 教工号
     */
    @ApiModelProperty(value = "教工号")
    private String teacherCollegeId;

    @TableField(value = "inParty_register",exist = false)
    @ApiModelProperty(value = "入党登记图片路径")
    private String inPartyRegister;

    @TableField(value = "inParty_petition",exist = false)
    @ApiModelProperty(value = "入党申请书图片路径")
    private String inPartyPetition;

    @TableField(value = "inParty_report",exist = false)
    @ApiModelProperty(value = "思想汇报图片路径")
    private String inPartyReport;

    @TableField(value = "inParty_activists_report",exist = false)
    @ApiModelProperty(value = "入党积极分子报告图片路径")
    private String inPartyActivistsReport;

    @TableField(value = "inParty_really_report",exist = false)
    @ApiModelProperty(value = "发展预备党员登记图片路径")
    private String inPartyReallyReport;

    @TableField(value = "inParty_formal_report",exist = false)
    @ApiModelProperty(value = "正式党员登记图片路径")
    private String inPartyFormalReport;
}
